import Vue from "vue";
import VueRouter from "vue-router";
import routes from "./routes";
import Guard from "./guard";

Vue.use(VueRouter);

const router = new VueRouter({
  routes,
});

Guard(router);

export default router;
